<?php

	$id=$_REQUEST["id"];
	$result=mysql_query("DELETE FROM doitac WHERE madoitac='$id'");
	if(mysql_affected_rows())
	{
		echo"<script>alert('Đã xóa thành công');</script>";
		echo"<script>window.location=('?thamso=dsdoitac');</script>";
	}
?>